﻿using MySql.Data.MySqlClient;
using System.Data.Common;
using Loong.Dapper.Uow;
using Loong.Dependency;

namespace Loong
{
    public class DbConnectionProvider : IDbConnectionProvider, ITransientDependency
    {
        public DbConnection GetDbConnection()
        {
            return new MySqlConnection("Server=192.168.1.2;User ID=root;Password=1111;Database=tms2019;Allow User Variables=True;");
        }
    }
}
